package com.ruoyi.zhjd.exp.modules.expcuringroom.entity;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @ClassName: ExpCuringRoomEntity
 * @Description: 养护室
 * @author linhuawei
 * @since 2021-04-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ToString
@TableName("exp_curing_room")
public class ExpCuringRoomEntity {

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;//
    private String equipmentNumber;// 养护室设备ID
    private String equipmentName;// 养护室名称

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime gatheringTime;// 采集时间
    private String temperature;// 温度（摄氏度）
    private String humidity;// 湿度（百分比）
    private BigDecimal electricQuantity;// 电量

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime insertTime;//
    private String isDeleted;// 删除标识(0,未删除,1.已删除)
    private String baseName;// 基地名称

}
